package com.hy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName carpartstable
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Carpartstable implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private String partcode;

    /**
     * 
     */
    private String partname;

    /**
     * 
     */
    private String partcreater;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date partcreatedate;

    /**
     * 
     */
    private String partdetailchanger;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date partdetailchangedate;

    /**
     * 
     */
    private String partplacecode;

    /**
     * 
     */
    private Integer producertableId;

    /**
     * 
     */
    private String partunit;

    /**
     * 
     */
    private Integer partcubage;

    /**
     * 
     */
    private Double partweight;

    /**
     * 
     */
    private Integer partstore;

    /**
     * 
     */
    private Integer partminstore;

    /**
     * 
     */
    private Double saleprice;

    /**
     * 
     */
    private Double costprice;

    /**
     * 
     */
    private Double rebate;

    /**
     * 
     */
    private String details;

    private static final long serialVersionUID = 1L;
}